.class Lcom/nemustech/regina/Intercepter$2;
.super Ljava/lang/Object;
.source "Intercepter.java"

# interfaces
.implements Landroid/view/View$OnTouchListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/nemustech/regina/Intercepter;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/nemustech/regina/Intercepter;


# direct methods
.method constructor <init>(Lcom/nemustech/regina/Intercepter;)V
    .locals 0
    .parameter

    .prologue
    .line 1147
    iput-object p1, p0, Lcom/nemustech/regina/Intercepter$2;->this$0:Lcom/nemustech/regina/Intercepter;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onTouch(Landroid/view/View;Landroid/view/MotionEvent;)Z
    .locals 12
    .parameter "v"
    .parameter "event"

    .prologue
    .line 1151
    iget-object v8, p0, Lcom/nemustech/regina/Intercepter$2;->this$0:Lcom/nemustech/regina/Intercepter;

    invoke-virtual {v8}, Lcom/nemustech/regina/Intercepter;->isTouchable()Z

    move-result v8

    if-eqz v8, :cond_b

    .line 1153
    iget-object v8, p0, Lcom/nemustech/regina/Intercepter$2;->this$0:Lcom/nemustech/regina/Intercepter;

    invoke-virtual {v8}, Lcom/nemustech/regina/Intercepter;->isLongClick()Z

    move-result v8

    if-nez v8, :cond_3

    .line 1154
    iget-object v8, p0, Lcom/nemustech/regina/Intercepter$2;->this$0:Lcom/nemustech/regina/Intercepter;

    invoke-static {v8}, Lcom/nemustech/regina/Intercepter;->access$000(Lcom/nemustech/regina/Intercepter;)Lcom/nemustech/regina/ReginaScaleGestureDetector;

    move-result-object v8

    invoke-virtual {v8, p2}, Lcom/nemustech/regina/ReginaScaleGestureDetector;->onTouchEvent(Landroid/view/MotionEvent;)Z

    .line 1155
    iget-object v8, p0, Lcom/nemustech/regina/Intercepter$2;->this$0:Lcom/nemustech/regina/Intercepter;

    invoke-static {v8}, Lcom/nemustech/regina/Intercepter;->access$000(Lcom/nemustech/regina/Intercepter;)Lcom/nemustech/regina/ReginaScaleGestureDetector;

    move-result-object v8

    invoke-virtual {v8}, Lcom/nemustech/regina/ReginaScaleGestureDetector;->isInProgress()Z

    move-result v8

    if-eqz v8, :cond_2

    .line 1156
    iget-object v8, p0, Lcom/nemustech/regina/Intercepter$2;->this$0:Lcom/nemustech/regina/Intercepter;

    invoke-static {v8}, Lcom/nemustech/regina/Intercepter;->access$100(Lcom/nemustech/regina/Intercepter;)F

    move-result v8

    const/4 v9, 0x0

    cmpg-float v8, v8, v9

    if-gtz v8, :cond_1

    .line 1157
    iget-object v8, p0, Lcom/nemustech/regina/Intercepter$2;->this$0:Lcom/nemustech/regina/Intercepter;

    iget-object v9, p0, Lcom/nemustech/regina/Intercepter$2;->this$0:Lcom/nemustech/regina/Intercepter;

    invoke-static {v9}, Lcom/nemustech/regina/Intercepter;->access$000(Lcom/nemustech/regina/Intercepter;)Lcom/nemustech/regina/ReginaScaleGestureDetector;

    move-result-object v9

    invoke-virtual {v9}, Lcom/nemustech/regina/ReginaScaleGestureDetector;->getCurrentSpan()F

    move-result v9

    invoke-static {v8, v9}, Lcom/nemustech/regina/Intercepter;->access$102(Lcom/nemustech/regina/Intercepter;F)F

    .line 1173
    :cond_0
    :goto_0
    const/4 v8, 0x0

    .line 1284
    :goto_1
    return v8

    .line 1159
    :cond_1
    iget-object v8, p0, Lcom/nemustech/regina/Intercepter$2;->this$0:Lcom/nemustech/regina/Intercepter;

    iget-object v9, p0, Lcom/nemustech/regina/Intercepter$2;->this$0:Lcom/nemustech/regina/Intercepter;

    invoke-static {v9}, Lcom/nemustech/regina/Intercepter;->access$000(Lcom/nemustech/regina/Intercepter;)Lcom/nemustech/regina/ReginaScaleGestureDetector;

    move-result-object v9

    invoke-virtual {v9}, Lcom/nemustech/regina/ReginaScaleGestureDetector;->getCurrentSpan()F

    move-result v9

    invoke-static {v8, v9}, Lcom/nemustech/regina/Intercepter;->access$202(Lcom/nemustech/regina/Intercepter;F)F

    .line 1160
    iget-object v8, p0, Lcom/nemustech/regina/Intercepter$2;->this$0:Lcom/nemustech/regina/Intercepter;

    invoke-static {v8}, Lcom/nemustech/regina/Intercepter;->access$300(Lcom/nemustech/regina/Intercepter;)Lcom/nemustech/regina/ReginaLauncher;

    move-result-object v8

    invoke-virtual {v8}, Lcom/nemustech/regina/ReginaLauncher;->getViewMode()I

    move-result v8

    if-nez v8, :cond_0

    .line 1161
    iget-object v8, p0, Lcom/nemustech/regina/Intercepter$2;->this$0:Lcom/nemustech/regina/Intercepter;

    invoke-static {v8}, Lcom/nemustech/regina/Intercepter;->access$200(Lcom/nemustech/regina/Intercepter;)F

    move-result v8

    iget-object v9, p0, Lcom/nemustech/regina/Intercepter$2;->this$0:Lcom/nemustech/regina/Intercepter;

    invoke-static {v9}, Lcom/nemustech/regina/Intercepter;->access$100(Lcom/nemustech/regina/Intercepter;)F

    move-result v9

    div-float/2addr v8, v9

    const v9, 0x3ecccccd

    cmpg-float v8, v8, v9

    if-gez v8, :cond_0

    .line 1162
    iget-object v8, p0, Lcom/nemustech/regina/Intercepter$2;->this$0:Lcom/nemustech/regina/Intercepter;

    invoke-static {v8}, Lcom/nemustech/regina/Intercepter;->access$300(Lcom/nemustech/regina/Intercepter;)Lcom/nemustech/regina/ReginaLauncher;

    move-result-object v8

    invoke-virtual {v8}, Lcom/nemustech/regina/ReginaLauncher;->getElementLocator()Lcom/nemustech/regina/ElementLocator;

    move-result-object v8

    const/4 v9, 0x0

    invoke-virtual {v8, v9}, Lcom/nemustech/regina/ElementLocator;->animateToWorkspaceSwitcherFrom(I)V

    goto :goto_0

    .line 1176
    :cond_2
    iget-object v8, p0, Lcom/nemustech/regina/Intercepter$2;->this$0:Lcom/nemustech/regina/Intercepter;

    const/high16 v9, -0x4080

    invoke-static {v8, v9}, Lcom/nemustech/regina/Intercepter;->access$102(Lcom/nemustech/regina/Intercepter;F)F

    .line 1181
    :cond_3
    invoke-virtual {p2}, Landroid/view/MotionEvent;->getAction()I

    move-result v0

    .line 1182
    .local v0, action:I
    invoke-virtual {p2}, Landroid/view/MotionEvent;->getX()F

    move-result v4

    .line 1183
    .local v4, eventX:F
    invoke-virtual {p2}, Landroid/view/MotionEvent;->getY()F

    move-result v5

    .line 1184
    .local v5, eventY:F
    const/4 v1, 0x0

    .line 1185
    .local v1, bHandled:Z
    iget-object v8, p0, Lcom/nemustech/regina/Intercepter$2;->this$0:Lcom/nemustech/regina/Intercepter;

    invoke-static {v8}, Lcom/nemustech/regina/Intercepter;->access$300(Lcom/nemustech/regina/Intercepter;)Lcom/nemustech/regina/ReginaLauncher;

    move-result-object v8

    invoke-virtual {v8}, Lcom/nemustech/regina/ReginaLauncher;->getWorld()Lcom/nemustech/tiffany/world/TFWorld;

    move-result-object v7

    .line 1186
    .local v7, world:Lcom/nemustech/tiffany/world/TFWorld;
    iget-object v8, p0, Lcom/nemustech/regina/Intercepter$2;->this$0:Lcom/nemustech/regina/Intercepter;

    invoke-static {v8}, Lcom/nemustech/regina/Intercepter;->access$300(Lcom/nemustech/regina/Intercepter;)Lcom/nemustech/regina/ReginaLauncher;

    move-result-object v8

    invoke-virtual {v8}, Lcom/nemustech/regina/ReginaLauncher;->getElementLocator()Lcom/nemustech/regina/ElementLocator;

    move-result-object v6

    .line 1189
    .local v6, locator:Lcom/nemustech/regina/ElementLocator;
    and-int/lit16 v8, v0, 0xff

    packed-switch v8, :pswitch_data_0

    .line 1240
    :cond_4
    :goto_2
    iget-object v8, p0, Lcom/nemustech/regina/Intercepter$2;->this$0:Lcom/nemustech/regina/Intercepter;

    invoke-static {v8, p1, p2}, Lcom/nemustech/regina/Intercepter;->access$1700(Lcom/nemustech/regina/Intercepter;Landroid/view/View;Landroid/view/MotionEvent;)Z

    move-result v1

    .line 1243
    and-int/lit16 v8, v0, 0xff

    packed-switch v8, :pswitch_data_1

    :cond_5
    :goto_3
    move v8, v1

    .line 1268
    goto :goto_1

    .line 1191
    :pswitch_0
    const-string v8, "Intercepter"

    const-string v9, "KKK touch Down!"

    invoke-static {v8, v9}, Landroid/util/Log;->i(Ljava/lang/String;Ljava/lang/String;)I

    .line 1192
    iget-object v8, p0, Lcom/nemustech/regina/Intercepter$2;->this$0:Lcom/nemustech/regina/Intercepter;

    invoke-static {v8}, Lcom/nemustech/regina/Intercepter;->access$400(Lcom/nemustech/regina/Intercepter;)I

    move-result v8

    const/16 v9, 0xa

    if-eq v8, v9, :cond_6

    .line 1193
    const-string v8, "Intercepter"

    new-instance v9, Ljava/lang/StringBuilder;

    invoke-direct {v9}, Ljava/lang/StringBuilder;-><init>()V

    const-string v10, "Current touch state : "

    invoke-virtual {v9, v10}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v9

    iget-object v10, p0, Lcom/nemustech/regina/Intercepter$2;->this$0:Lcom/nemustech/regina/Intercepter;

    invoke-static {v10}, Lcom/nemustech/regina/Intercepter;->access$400(Lcom/nemustech/regina/Intercepter;)I

    move-result v10

    invoke-virtual {v9, v10}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v9

    invoke-virtual {v9}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v9

    invoke-static {v8, v9}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I

    .line 1196
    :cond_6
    iget-object v8, p0, Lcom/nemustech/regina/Intercepter$2;->this$0:Lcom/nemustech/regina/Intercepter;

    const/16 v9, 0xc

    invoke-static {v8, v9}, Lcom/nemustech/regina/Intercepter;->access$402(Lcom/nemustech/regina/Intercepter;I)I

    .line 1197
    iget-object v8, p0, Lcom/nemustech/regina/Intercepter$2;->this$0:Lcom/nemustech/regina/Intercepter;

    const/4 v9, 0x0

    invoke-static {v8, v9}, Lcom/nemustech/regina/Intercepter;->access$502(Lcom/nemustech/regina/Intercepter;Z)Z

    .line 1198
    iget-object v8, p0, Lcom/nemustech/regina/Intercepter$2;->this$0:Lcom/nemustech/regina/Intercepter;

    iget-object v9, p0, Lcom/nemustech/regina/Intercepter$2;->this$0:Lcom/nemustech/regina/Intercepter;

    invoke-static {v9, v4}, Lcom/nemustech/regina/Intercepter;->access$702(Lcom/nemustech/regina/Intercepter;F)F

    move-result v9

    invoke-static {v8, v9}, Lcom/nemustech/regina/Intercepter;->access$602(Lcom/nemustech/regina/Intercepter;F)F

    .line 1199
    iget-object v8, p0, Lcom/nemustech/regina/Intercepter$2;->this$0:Lcom/nemustech/regina/Intercepter;

    iget-object v9, p0, Lcom/nemustech/regina/Intercepter$2;->this$0:Lcom/nemustech/regina/Intercepter;

    invoke-static {v9, v5}, Lcom/nemustech/regina/Intercepter;->access$902(Lcom/nemustech/regina/Intercepter;F)F

    move-result v9

    invoke-static {v8, v9}, Lcom/nemustech/regina/Intercepter;->access$802(Lcom/nemustech/regina/Intercepter;F)F

    .line 1200
    iget-object v8, p0, Lcom/nemustech/regina/Intercepter$2;->this$0:Lcom/nemustech/regina/Intercepter;

    iget-object v9, p0, Lcom/nemustech/regina/Intercepter$2;->this$0:Lcom/nemustech/regina/Intercepter;

    invoke-static {v9}, Lcom/nemustech/regina/Intercepter;->access$700(Lcom/nemustech/regina/Intercepter;)F

    move-result v9

    invoke-static {v8, v9}, Lcom/nemustech/regina/Intercepter;->access$1002(Lcom/nemustech/regina/Intercepter;F)F

    .line 1201
    iget-object v8, p0, Lcom/nemustech/regina/Intercepter$2;->this$0:Lcom/nemustech/regina/Intercepter;

    const/4 v9, 0x1

    invoke-static {v8, v9}, Lcom/nemustech/regina/Intercepter;->access$1102(Lcom/nemustech/regina/Intercepter;Z)Z

    .line 1204
    iget-object v8, p0, Lcom/nemustech/regina/Intercepter$2;->this$0:Lcom/nemustech/regina/Intercepter;

    iget-object v9, p0, Lcom/nemustech/regina/Intercepter$2;->this$0:Lcom/nemustech/regina/Intercepter;

    invoke-static {v9}, Lcom/nemustech/regina/Intercepter;->access$700(Lcom/nemustech/regina/Intercepter;)F

    move-result v9

    iget-object v10, p0, Lcom/nemustech/regina/Intercepter$2;->this$0:Lcom/nemustech/regina/Intercepter;

    invoke-static {v10}, Lcom/nemustech/regina/Intercepter;->access$900(Lcom/nemustech/regina/Intercepter;)F

    move-result v10

    invoke-virtual {v7, v9, v10}, Lcom/nemustech/tiffany/world/TFWorld;->getHitModel(FF)Lcom/nemustech/tiffany/world/TFModel;

    move-result-object v9

    invoke-static {v8, v9}, Lcom/nemustech/regina/Intercepter;->access$1202(Lcom/nemustech/regina/Intercepter;Lcom/nemustech/tiffany/world/TFObject;)Lcom/nemustech/tiffany/world/TFObject;

    .line 1205
    iget-object v8, p0, Lcom/nemustech/regina/Intercepter$2;->this$0:Lcom/nemustech/regina/Intercepter;

    invoke-static {v8}, Lcom/nemustech/regina/Intercepter;->access$1200(Lcom/nemustech/regina/Intercepter;)Lcom/nemustech/tiffany/world/TFObject;

    move-result-object v8

    if-eqz v8, :cond_7

    iget-object v8, p0, Lcom/nemustech/regina/Intercepter$2;->this$0:Lcom/nemustech/regina/Intercepter;

    invoke-static {v8}, Lcom/nemustech/regina/Intercepter;->access$1200(Lcom/nemustech/regina/Intercepter;)Lcom/nemustech/tiffany/world/TFObject;

    move-result-object v8

    invoke-virtual {v8}, Lcom/nemustech/tiffany/world/TFObject;->getLockStatus()Z

    move-result v8

    if-eqz v8, :cond_8

    .line 1206
    :cond_7
    iget-object v8, p0, Lcom/nemustech/regina/Intercepter$2;->this$0:Lcom/nemustech/regina/Intercepter;

    const/4 v9, 0x0

    invoke-static {v8, v9}, Lcom/nemustech/regina/Intercepter;->access$1302(Lcom/nemustech/regina/Intercepter;I)I

    .line 1207
    iget-object v8, p0, Lcom/nemustech/regina/Intercepter$2;->this$0:Lcom/nemustech/regina/Intercepter;

    const/4 v9, 0x0

    invoke-static {v8, v9}, Lcom/nemustech/regina/Intercepter;->access$1402(Lcom/nemustech/regina/Intercepter;Lcom/nemustech/regina/Element;)Lcom/nemustech/regina/Element;

    .line 1208
    const-string v8, "TOUCH"

    const-string v9, "onDown - TOUCH_AREA_WORKSPACE"

    const/4 v10, 0x1

    invoke-static {v8, v9, v10}, Lcom/nemustech/regina/RLog;->d(Ljava/lang/String;Ljava/lang/String;Z)I

    goto/16 :goto_2

    .line 1211
    :cond_8
    iget-object v8, p0, Lcom/nemustech/regina/Intercepter$2;->this$0:Lcom/nemustech/regina/Intercepter;

    iget-object v9, p0, Lcom/nemustech/regina/Intercepter$2;->this$0:Lcom/nemustech/regina/Intercepter;

    invoke-static {v9}, Lcom/nemustech/regina/Intercepter;->access$1200(Lcom/nemustech/regina/Intercepter;)Lcom/nemustech/tiffany/world/TFObject;

    move-result-object v9

    invoke-virtual {v6, v9}, Lcom/nemustech/regina/ElementLocator;->findElementByModel(Lcom/nemustech/tiffany/world/TFObject;)Lcom/nemustech/regina/Element;

    move-result-object v9

    invoke-static {v8, v9}, Lcom/nemustech/regina/Intercepter;->access$1402(Lcom/nemustech/regina/Intercepter;Lcom/nemustech/regina/Element;)Lcom/nemustech/regina/Element;

    goto/16 :goto_2

    .line 1216
    :pswitch_1
    iget-object v8, p0, Lcom/nemustech/regina/Intercepter$2;->this$0:Lcom/nemustech/regina/Intercepter;

    invoke-static {v8}, Lcom/nemustech/regina/Intercepter;->access$400(Lcom/nemustech/regina/Intercepter;)I

    move-result v8

    const/16 v9, 0xc

    if-ne v8, v9, :cond_4

    .line 1217
    iget-object v8, p0, Lcom/nemustech/regina/Intercepter$2;->this$0:Lcom/nemustech/regina/Intercepter;

    invoke-static {v8}, Lcom/nemustech/regina/Intercepter;->access$700(Lcom/nemustech/regina/Intercepter;)F

    move-result v8

    sub-float v2, v4, v8

    .line 1218
    .local v2, deltaX:F
    iget-object v8, p0, Lcom/nemustech/regina/Intercepter$2;->this$0:Lcom/nemustech/regina/Intercepter;

    invoke-static {v8}, Lcom/nemustech/regina/Intercepter;->access$900(Lcom/nemustech/regina/Intercepter;)F

    move-result v8

    sub-float v3, v5, v8

    .line 1220
    .local v3, deltaY:F
    mul-float v8, v2, v2

    mul-float v9, v3, v3

    add-float/2addr v8, v9

    iget-object v9, p0, Lcom/nemustech/regina/Intercepter$2;->this$0:Lcom/nemustech/regina/Intercepter;

    invoke-static {v9}, Lcom/nemustech/regina/Intercepter;->access$1500(Lcom/nemustech/regina/Intercepter;)I

    move-result v9

    iget-object v10, p0, Lcom/nemustech/regina/Intercepter$2;->this$0:Lcom/nemustech/regina/Intercepter;

    invoke-static {v10}, Lcom/nemustech/regina/Intercepter;->access$1500(Lcom/nemustech/regina/Intercepter;)I

    move-result v10

    mul-int/2addr v9, v10

    int-to-float v9, v9

    cmpl-float v8, v8, v9

    if-lez v8, :cond_9

    .line 1221
    iget-object v8, p0, Lcom/nemustech/regina/Intercepter$2;->this$0:Lcom/nemustech/regina/Intercepter;

    const/16 v9, 0xd

    invoke-static {v8, v9}, Lcom/nemustech/regina/Intercepter;->access$402(Lcom/nemustech/regina/Intercepter;I)I

    .line 1222
    const-string v8, "Intercepter"

    const-string v9, "KKK touch Move: move accepted"

    invoke-static {v8, v9}, Landroid/util/Log;->i(Ljava/lang/String;Ljava/lang/String;)I

    goto/16 :goto_2

    .line 1226
    :cond_9
    const/4 v8, 0x0

    goto/16 :goto_1

    .line 1231
    .end local v2           #deltaX:F
    .end local v3           #deltaY:F
    :pswitch_2
    const-string v8, "Intercepter"

    const-string v9, "KKK-- touch up >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> "

    invoke-static {v8, v9}, Landroid/util/Log;->i(Ljava/lang/String;Ljava/lang/String;)I

    .line 1232
    iget-object v8, p0, Lcom/nemustech/regina/Intercepter$2;->this$0:Lcom/nemustech/regina/Intercepter;

    invoke-static {v8}, Lcom/nemustech/regina/Intercepter;->access$400(Lcom/nemustech/regina/Intercepter;)I

    move-result v8

    const/16 v9, 0xd

    if-ne v8, v9, :cond_4

    iget-object v8, p0, Lcom/nemustech/regina/Intercepter$2;->this$0:Lcom/nemustech/regina/Intercepter;

    invoke-static {v8}, Lcom/nemustech/regina/Intercepter;->access$1600(Lcom/nemustech/regina/Intercepter;)Landroid/view/View;

    move-result-object v8

    if-eqz v8, :cond_4

    .line 1233
    iget-object v8, p0, Lcom/nemustech/regina/Intercepter$2;->this$0:Lcom/nemustech/regina/Intercepter;

    invoke-static {v8}, Lcom/nemustech/regina/Intercepter;->access$1600(Lcom/nemustech/regina/Intercepter;)Landroid/view/View;

    move-result-object v8

    invoke-virtual {v8}, Landroid/view/View;->clearFocus()V

    .line 1234
    iget-object v8, p0, Lcom/nemustech/regina/Intercepter$2;->this$0:Lcom/nemustech/regina/Intercepter;

    invoke-static {v8}, Lcom/nemustech/regina/Intercepter;->access$1600(Lcom/nemustech/regina/Intercepter;)Landroid/view/View;

    move-result-object v8

    const/4 v9, 0x0

    invoke-virtual {v8, v9}, Landroid/view/View;->setPressed(Z)V

    .line 1235
    iget-object v8, p0, Lcom/nemustech/regina/Intercepter$2;->this$0:Lcom/nemustech/regina/Intercepter;

    invoke-static {v8}, Lcom/nemustech/regina/Intercepter;->access$1600(Lcom/nemustech/regina/Intercepter;)Landroid/view/View;

    move-result-object v8

    invoke-virtual {v8}, Landroid/view/View;->invalidate()V

    goto/16 :goto_2

    .line 1245
    :pswitch_3
    iget-object v8, p0, Lcom/nemustech/regina/Intercepter$2;->this$0:Lcom/nemustech/regina/Intercepter;

    invoke-static {v8, v4}, Lcom/nemustech/regina/Intercepter;->access$702(Lcom/nemustech/regina/Intercepter;F)F

    .line 1246
    iget-object v8, p0, Lcom/nemustech/regina/Intercepter$2;->this$0:Lcom/nemustech/regina/Intercepter;

    invoke-static {v8, v5}, Lcom/nemustech/regina/Intercepter;->access$902(Lcom/nemustech/regina/Intercepter;F)F

    goto/16 :goto_3

    .line 1249
    :pswitch_4
    iget-object v8, p0, Lcom/nemustech/regina/Intercepter$2;->this$0:Lcom/nemustech/regina/Intercepter;

    invoke-static {v8}, Lcom/nemustech/regina/Intercepter;->access$300(Lcom/nemustech/regina/Intercepter;)Lcom/nemustech/regina/ReginaLauncher;

    move-result-object v8

    const/4 v9, 0x0

    invoke-virtual {v8, v9}, Lcom/nemustech/regina/ReginaLauncher;->setRenderAffinity(Z)V

    .line 1250
    iget-object v8, p0, Lcom/nemustech/regina/Intercepter$2;->this$0:Lcom/nemustech/regina/Intercepter;

    invoke-static {v8}, Lcom/nemustech/regina/Intercepter;->access$400(Lcom/nemustech/regina/Intercepter;)I

    move-result v8

    const/16 v9, 0xc

    if-eq v8, v9, :cond_a

    iget-object v8, p0, Lcom/nemustech/regina/Intercepter$2;->this$0:Lcom/nemustech/regina/Intercepter;

    invoke-static {v8}, Lcom/nemustech/regina/Intercepter;->access$400(Lcom/nemustech/regina/Intercepter;)I

    move-result v8

    const/16 v9, 0xd

    if-eq v8, v9, :cond_a

    .line 1251
    const-string v8, "Intercepter"

    new-instance v9, Ljava/lang/StringBuilder;

    invoke-direct {v9}, Ljava/lang/StringBuilder;-><init>()V

    const-string v10, "Current touch state : "

    invoke-virtual {v9, v10}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v9

    iget-object v10, p0, Lcom/nemustech/regina/Intercepter$2;->this$0:Lcom/nemustech/regina/Intercepter;

    invoke-static {v10}, Lcom/nemustech/regina/Intercepter;->access$400(Lcom/nemustech/regina/Intercepter;)I

    move-result v10

    invoke-virtual {v9, v10}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v9

    invoke-virtual {v9}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v9

    invoke-static {v8, v9}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I

    .line 1254
    :cond_a
    iget-object v8, p0, Lcom/nemustech/regina/Intercepter$2;->this$0:Lcom/nemustech/regina/Intercepter;

    const/16 v9, 0xa

    invoke-static {v8, v9}, Lcom/nemustech/regina/Intercepter;->access$402(Lcom/nemustech/regina/Intercepter;I)I

    .line 1255
    iget-object v8, p0, Lcom/nemustech/regina/Intercepter$2;->this$0:Lcom/nemustech/regina/Intercepter;

    const/4 v9, 0x0

    invoke-static {v8, v9}, Lcom/nemustech/regina/Intercepter;->access$1402(Lcom/nemustech/regina/Intercepter;Lcom/nemustech/regina/Element;)Lcom/nemustech/regina/Element;

    .line 1256
    iget-object v8, p0, Lcom/nemustech/regina/Intercepter$2;->this$0:Lcom/nemustech/regina/Intercepter;

    const/4 v9, 0x0

    invoke-static {v8, v9}, Lcom/nemustech/regina/Intercepter;->access$1602(Lcom/nemustech/regina/Intercepter;Landroid/view/View;)Landroid/view/View;

    .line 1257
    iget-object v8, p0, Lcom/nemustech/regina/Intercepter$2;->this$0:Lcom/nemustech/regina/Intercepter;

    const/4 v9, 0x0

    invoke-static {v8, v9}, Lcom/nemustech/regina/Intercepter;->access$1802(Lcom/nemustech/regina/Intercepter;I)I

    .line 1258
    iget-object v8, p0, Lcom/nemustech/regina/Intercepter$2;->this$0:Lcom/nemustech/regina/Intercepter;

    invoke-static {v8}, Lcom/nemustech/regina/Intercepter;->access$1900(Lcom/nemustech/regina/Intercepter;)Landroid/graphics/Rect;

    move-result-object v8

    invoke-virtual {v8}, Landroid/graphics/Rect;->setEmpty()V

    .line 1259
    iget-object v8, p0, Lcom/nemustech/regina/Intercepter$2;->this$0:Lcom/nemustech/regina/Intercepter;

    invoke-virtual {v8}, Lcom/nemustech/regina/Intercepter;->invalidate()V

    .line 1260
    const-string v8, "Intercepter"

    new-instance v9, Ljava/lang/StringBuilder;

    invoke-direct {v9}, Ljava/lang/StringBuilder;-><init>()V

    const-string v10, "onTouchEvent() mSelectedElement="

    invoke-virtual {v9, v10}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v9

    iget-object v10, p0, Lcom/nemustech/regina/Intercepter$2;->this$0:Lcom/nemustech/regina/Intercepter;

    invoke-static {v10}, Lcom/nemustech/regina/Intercepter;->access$1400(Lcom/nemustech/regina/Intercepter;)Lcom/nemustech/regina/Element;

    move-result-object v10

    invoke-virtual {v9, v10}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;

    move-result-object v9

    invoke-virtual {v9}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v9

    invoke-static {}, Lcom/nemustech/regina/Intercepter;->access$2000()Z

    move-result v10

    invoke-static {v8, v9, v10}, Lcom/nemustech/regina/RLog;->d(Ljava/lang/String;Ljava/lang/String;Z)I

    .line 1261
    if-eqz v1, :cond_5

    .line 1263
    const/4 v1, 0x0

    goto/16 :goto_3

    .line 1271
    .end local v0           #action:I
    .end local v1           #bHandled:Z
    .end local v4           #eventX:F
    .end local v5           #eventY:F
    .end local v6           #locator:Lcom/nemustech/regina/ElementLocator;
    .end local v7           #world:Lcom/nemustech/tiffany/world/TFWorld;
    :cond_b
    const-string v8, "Intercepter"

    const-string v9, "Touch event with non touchable state"

    invoke-static {v8, v9}, Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;)I

    .line 1272
    iget-object v8, p0, Lcom/nemustech/regina/Intercepter$2;->this$0:Lcom/nemustech/regina/Intercepter;

    invoke-static {v8}, Lcom/nemustech/regina/Intercepter;->access$300(Lcom/nemustech/regina/Intercepter;)Lcom/nemustech/regina/ReginaLauncher;

    move-result-object v8

    invoke-virtual {v8}, Lcom/nemustech/regina/ReginaLauncher;->isLaunchingApp()Z

    move-result v8

    if-eqz v8, :cond_c

    .line 1273
    iget-object v8, p0, Lcom/nemustech/regina/Intercepter$2;->this$0:Lcom/nemustech/regina/Intercepter;

    iget-object v9, p0, Lcom/nemustech/regina/Intercepter$2;->this$0:Lcom/nemustech/regina/Intercepter;

    invoke-static {v9}, Lcom/nemustech/regina/Intercepter;->access$300(Lcom/nemustech/regina/Intercepter;)Lcom/nemustech/regina/ReginaLauncher;

    move-result-object v9

    iget-object v10, p0, Lcom/nemustech/regina/Intercepter$2;->this$0:Lcom/nemustech/regina/Intercepter;

    invoke-static {v10}, Lcom/nemustech/regina/Intercepter;->access$300(Lcom/nemustech/regina/Intercepter;)Lcom/nemustech/regina/ReginaLauncher;

    move-result-object v10

    invoke-virtual {v10}, Lcom/nemustech/regina/ReginaLauncher;->getApplicationContext()Landroid/content/Context;

    move-result-object v10

    const v11, 0x7f07000a

    invoke-virtual {v10, v11}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object v10

    invoke-static {v9, v10}, Lcom/nemustech/regina/RUtils;->showToast(Landroid/content/Context;Ljava/lang/String;)Landroid/widget/Toast;

    move-result-object v9

    invoke-static {v8, v9}, Lcom/nemustech/regina/Intercepter;->access$2102(Lcom/nemustech/regina/Intercepter;Landroid/widget/Toast;)Landroid/widget/Toast;

    .line 1274
    const/4 v8, 0x1

    goto/16 :goto_1

    .line 1276
    :cond_c
    iget-object v8, p0, Lcom/nemustech/regina/Intercepter$2;->this$0:Lcom/nemustech/regina/Intercepter;

    invoke-static {v8}, Lcom/nemustech/regina/Intercepter;->access$2200(Lcom/nemustech/regina/Intercepter;)Z

    move-result v8

    if-eqz v8, :cond_d

    .line 1277
    invoke-virtual {p2}, Landroid/view/MotionEvent;->getAction()I

    move-result v0

    .line 1278
    .restart local v0       #action:I
    and-int/lit16 v8, v0, 0xff

    packed-switch v8, :pswitch_data_2

    .line 1284
    .end local v0           #action:I
    :cond_d
    :goto_4
    const/4 v8, 0x0

    goto/16 :goto_1

    .line 1280
    .restart local v0       #action:I
    :pswitch_5
    iget-object v8, p0, Lcom/nemustech/regina/Intercepter$2;->this$0:Lcom/nemustech/regina/Intercepter;

    const/4 v9, 0x1

    invoke-static {v8, v9}, Lcom/nemustech/regina/Intercepter;->access$2302(Lcom/nemustech/regina/Intercepter;Z)Z

    goto :goto_4

    .line 1189
    :pswitch_data_0
    .packed-switch 0x0
        :pswitch_0
        :pswitch_2
        :pswitch_1
    .end packed-switch

    .line 1243
    :pswitch_data_1
    .packed-switch 0x1
        :pswitch_4
        :pswitch_3
    .end packed-switch

    .line 1278
    :pswitch_data_2
    .packed-switch 0x1
        :pswitch_5
    .end packed-switch
.end method
